const db = require('../utils/db')

// 新建walls
exports.insertWalls = async (req, res) => {
  let data = req.body
  await db.insertWalls([data.type, data.message, data.name, data.userId, data.moment, data.label, data.color, data.imgUrl]).then(result => { 
    res.send({
      code: 200,
      message: result
    })
   })
}


